package tech.swh.ssm.entity;

import java.math.BigInteger;
import java.sql.Timestamp;

public class Backend {

	private BigInteger id;					//主键id
	private String 	   userCode;			//用户编码
	private String     userName;			//用户名称
	private BigInteger userType;			//用户角色类型（来源于数据字典表，分为：超管、财务、市场、运营、销售）
	private BigInteger createdBy;			//创建者（来源于backend_user用户表的用户id）
	private Timestamp  creationDate;		//创建时间
	private BigInteger modifyBy;			//更新者（来源于backend_user用户表的用户id）
	private Timestamp  modifyDate;			//最新更新时间
	private String     userPassword;		//用户密码
	
	@Override
	public String toString() {
		return "Backend [id=" + id + ", userCode=" + userCode + ", userName=" + userName + ", userType=" + userType
				+ ", createdBy=" + createdBy + ", creationDate=" + creationDate + ", modifyBy=" + modifyBy
				+ ", modifyDate=" + modifyDate + ", userPassword=" + userPassword + "]";
	}
	public Backend() {
		super();
	}
	public Backend(BigInteger id, String userCode, String userName, BigInteger userType, BigInteger createdBy,
			Timestamp creationDate, BigInteger modifyBy, Timestamp modifyDate, String userPassword) {
		super();
		this.id = id;
		this.userCode = userCode;
		this.userName = userName;
		this.userType = userType;
		this.createdBy = createdBy;
		this.creationDate = creationDate;
		this.modifyBy = modifyBy;
		this.modifyDate = modifyDate;
		this.userPassword = userPassword;
	}
	public BigInteger getId() {
		return id;
	}
	public void setId(BigInteger id) {
		this.id = id;
	}
	public String getUserCode() {
		return userCode;
	}
	public void setUserCode(String userCode) {
		this.userCode = userCode;
	}
	public String getUserName() {
		return userName;
	}
	public void setUserName(String userName) {
		this.userName = userName;
	}
	public BigInteger getUserType() {
		return userType;
	}
	public void setUserType(BigInteger userType) {
		this.userType = userType;
	}
	public BigInteger getCreatedBy() {
		return createdBy;
	}
	public void setCreatedBy(BigInteger createdBy) {
		this.createdBy = createdBy;
	}
	public Timestamp getCreationDate() {
		return creationDate;
	}
	public void setCreationDate(Timestamp creationDate) {
		this.creationDate = creationDate;
	}
	public BigInteger getModifyBy() {
		return modifyBy;
	}
	public void setModifyBy(BigInteger modifyBy) {
		this.modifyBy = modifyBy;
	}
	public Timestamp getModifyDate() {
		return modifyDate;
	}
	public void setModifyDate(Timestamp modifyDate) {
		this.modifyDate = modifyDate;
	}
	public String getUserPassword() {
		return userPassword;
	}
	public void setUserPassword(String userPassword) {
		this.userPassword = userPassword;
	}
	
	
}
